﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._0427
{
    /// <summary>
    ///  获取人脉列表
    /// </summary>
    public class ConnectionListInput
    {
        /// <summary>
        ///  登录用户编码
        /// </summary>
        [Required(ErrorMessage = "登录用户编码必传！")]
        public string userid { get; set; }
        /// <summary>
        ///  好友用户编码列表
        /// </summary>
        [Required(ErrorMessage = "好友用户编码列表必传！")]
        public List<DuUser> duidList { get; set; }
        /// <summary>
        ///  手机当前位置的经度
        /// </summary>
        public decimal gpsX { get; set; }
        /// <summary>
        ///  手机当前位置的纬度
        /// </summary>
        public decimal gpsY { get; set; }
        /// <summary>
        /// 获取入住信息类别：-1=不返回入住信息（默认），1=只获取实际入住信息，0=优先获取实际入住信息
        /// </summary>
        public int stayType { get; set; } = -1;
    }
    /// <summary>
    ///  好友用户编码
    /// </summary>
    public class DuUser
    {
        /// <summary>
        ///  好友用户编码
        /// </summary>
        [Required(ErrorMessage = "好友用户编码必传！")]
        public string userid { get; set; }
    }
}